/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

/******************************************
 Widget (Oval button vertical html links)

<div class="buttonwrapper">
  <a class="ovalbutton grey align-vert" href="../home/home.html"><span>Home</span></a><br/>
  <a class="ovalbutton blue align-vert" href="../niceSites/niceSites.html"><span>Nice Websites</span></a><br/>
</div>
--------------------------------------- **/

/* --- OVAL BUTTON --- */
a.ovalbutton{
  background: transparent url('../../img/oval-gray-left.gif') no-repeat top left;
  display: block;
  float: left;
  font: normal 13px Tahoma; /* Change 13px as desired */
  line-height: 16px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
  height: 24px; /* Height of button background height */
  padding-left: 11px; /* Width of left menu image */
  text-decoration: none;
  width: 150px; /* comment out to allow auto adjust to text width */
  text-align: center;
}

a:link.ovalbutton, a:visited.ovalbutton, a:active.ovalbutton{
  color: #494949; /*button text color*/
}

a.ovalbutton span{
  background: transparent url('../../img/oval-gray-right.gif') no-repeat top right;
  display: block;
  padding: 4px 11px 4px 0; /*Set 11px below to match value of 'padding-left' value above*/
}

a.ovalbutton:hover{ /* Hover state CSS */
  background-position: bottom left;
}

a.ovalbutton:hover span{ /* Hover state CSS */
  background-position: bottom right;
  color: black;
  font-weight: bold;
}

/* -------------------------------------------*/
.buttonwrapper{ /* Container you can use to surround a CSS button to clear float */
  overflow: hidden; /*See: http://www.quirksmode.org/css/clearing.html */
  width: 100%;
}

/* -------------------------------------------*/
.buttonwrapper a.align-vert{
  clear: both;
  margin: 5px 10px 5px 10px;
}

/* -------------------------------------------*/
.buttonwrapper a.red{
  background: transparent url('../../img/oval-red-left.gif') no-repeat top left;
}
.buttonwrapper a.red span{
  background: transparent url('../../img/oval-red-right.gif') no-repeat top right;
}

.buttonwrapper a.blue{
  background: transparent url('../../img/oval-blue-left.gif') no-repeat top left;
}
.buttonwrapper a.blue span{
  background: transparent url('../../img/oval-blue-right.gif') no-repeat top right;
}

.buttonwrapper a.grey{
  background: transparent url('../../img/oval-gray-left.gif') no-repeat top left;
}
.buttonwrapper a.grey span{
  background: transparent url('../../img/oval-gray-right.gif') no-repeat top right;
}

.buttonwrapper a.green{
  background: transparent url('../../img/oval-green-left.gif') no-repeat top left;
}
.buttonwrapper a.green span{
  background: transparent url('../../img/oval-green-right.gif') no-repeat top right;
}

.buttonwrapper a.orange{
  background: transparent url('../../img/oval-orange-left.gif') no-repeat top left;
}
.buttonwrapper a.orange span{
  background: transparent url('../../img/oval-orange-right.gif') no-repeat top right;
}
